<?php
/**
 * shopify订单明细
 * (shopify-model)
 */
namespace App\Models\Shopify;

use Illuminate\Database\Eloquent\Model;

class ShopifyOrderItem extends Model
{
    protected $connection = 'mysql_shopify';

    protected $table = 'shopify_orders_items';

    protected $guarded  = [];

    public function shopify_order(){
        return $this->belongsTo(ShopifyOrder::class, 'order_id', 'order_id');
    }
}
